package com.neutech.entity;

import com.mybatisflex.annotation.Table;
import com.neutech.core.BaseEntity;
import java.io.Serializable;

import java.io.Serial;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 地区表 实体类。
 *
 * @author Administrator
 * @since 2025-02-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "地区表")
@Table("area")
public class Area extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 地区名称
     */
    @Schema(description = "地区名称", type = "String")
    private String name;

    /**
     * 状态
     */
    @Schema(description = "状态", type = "Boolean")
    private Boolean active;

}
